package com.bestcem.xm.ticket.constant;

import lombok.AccessLevel;
import lombok.NoArgsConstructor;

import java.util.LinkedHashMap;

/**
 * Excel导出文件相关常量
 *
 * @author zhangfeng <feng.zhang@idiaoyan.com>
 * @version v1.0
 * @date 2021/8/1 19:11
 */
@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class ExcelConstant {
    /**
     * 工单导出文件前缀
     */
    public static final String EXPORT_TICKET_FILE_PREFIX = "预警工单数据导出_";
    /**
     * 工单导出文件附注
     */
    public static final String EXPORT_ACCOUNT_FILE_REMARK = "行动中心-导出工单/预警记录";
    /**
     * 工单导出title
     */
    public static final LinkedHashMap<String, String> HEADALIASMAP = new LinkedHashMap<>();

    static {
        HEADALIASMAP.put("ticketNo", "编号");
        HEADALIASMAP.put("ttype", "类型");
        HEADALIASMAP.put("status", "状态");
        HEADALIASMAP.put("ruleTitle", "规则/工单名称");
        HEADALIASMAP.put("surveyTitle", "所属项目");
        HEADALIASMAP.put("regionName", "所属组织");
        HEADALIASMAP.put("overDue", "逾期情况");
        HEADALIASMAP.put("createdName", "创建人");
        HEADALIASMAP.put("handlerName", "当前处理人");
        HEADALIASMAP.put("createdAt", "生成时间");
    }
}
